package com.example.pages;

import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.ui.WebDriverWait;

public abstract class Page {
	protected WebDriver driver;
	
	
	public abstract boolean isOnThisPage ();

	abstract void tryToOpen ();
	
	public WebDriverWait waitFunc() {
		return new WebDriverWait(driver, 10);
	}
}
